namespace EntityFrameworkModel
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class hkb_RequirementBookHouse
    {
        [Key]
        [Column(Order = 0)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long GuestsId { get; set; }

        [Key]
        [Column(Order = 1)]
        public Guid RequirementId { get; set; }

        public int? HaveHouse { get; set; }

        public int? HouseRegion { get; set; }

        public string HouseAddr { get; set; }

        public int? HouseType { get; set; }

        public int? HouseProperty { get; set; }

        public int? HouseLicense { get; set; }

        public int? HouseArea { get; set; }

        public int? HouseAge { get; set; }

        public int? HouseValuation { get; set; }

        public int? HouseBuyAmount { get; set; }

        public int? HouseMortgage { get; set; }

        public int? HouseMonthlyPaymentsBankAmount { get; set; }

        public int? LoanPaidMonth { get; set; }

        public decimal? HouseLoanBalance { get; set; }

        public int? HavePublicRightPerson { get; set; }

        public int? ChildrenAndOlder { get; set; }

        public int? CanSign { get; set; }

        public byte? HasSpareHouse { get; set; }

        public DateTime? CreateTime { get; set; }

        public DateTime? UpdateTime { get; set; }

        public virtual hkb_RequirementBook hkb_RequirementBook { get; set; }
    }
}
